'use strict'

const Service = require('egg').Service

class WeixinService extends Service {
  async login(postBody) {
    console.log(postBody)
    return this.ctx.getRESTfulData(
      {
        a: 1,
        b: 2,
      },
      '获取成功',
      200
    )
  }
}

module.exports = WeixinService
